var obj = { name: 'feng', age: 18 }
let obj2 = { name: 'zhi', sex: 'man' }
    // console.dir(Object.assign(obj,obj2))
Object.assign(obj, obj2)
obj['car'] = ['奔驰', '宝马', '五菱宏光']
obj.key = '123'
console.log(obj);
// Object.assign()方法用于对象的合并，将源对象（source）的所有可枚举属性，复制到目标对象